/**
 * Created with IntelliJ IDEA.
 * User: wangjunneil@gmail.com
 * Date: 13-12-24
 * Time: 14:16
 * To change this template use File | Settings | File Templates.
 */
function dynamicFilmTypeSubmit(page, filmTypeId) {
    var form = createForm('/page/filmListByCondition.html');
    createInput("page", page, form);
    createInput("filmTypeId", filmTypeId, form);
    submitForm(form);
}

function dynamicRegionSubmit(page, regionId) {
    var form = createForm('/page/filmListByCondition.html');
    createInput("page", page, form);
    createInput("regionId", regionId, form);
    submitForm(form);
}

function dynamicShowTimeSubmit(page, showTime) {
    var form = createForm('/page/filmListByCondition.html');
    createInput("page", page, form);
    createInput("showTime", showTime, form);
    submitForm(form);
}

function dynamicPlay(filmId) {
    var form = createForm('/page/playFilm.html');
    createInput("filmId", filmId, form);
    submitForm(form);
}